Re: [GENERAL] importing into postgres

Поиск
Список
Период
Сортировка
От lynch@lscorp.com (Richard Lynch)
Тема Re: [GENERAL] importing into postgres
Дата
Msg-id v02140b07b1dd10841152@[207.152.64.133]
обсуждение исходный текст
Список pgsql-general
create an import table with no id field, or rather, with a fake field that
will accept whatever you have in the file.

Then, do an:

insert into realTable from select * from importTable;

and let your auto incrementer do its job.

--
--
-- "TANSTAAFL" Rich lynch@lscorp.com



В списке pgsql-general по дате отправления: